*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img{
    width: 100%;
}
html,body{
    scroll-behavior: smooth
}
:root{
    --primary-color: #ff434f;
    --secondary-color:#e3e3e3;
    --text-color-lightest: #e7e9ec;
    --text-color-darker: #2e2e2e;
    --text-color-dark: #494949;
    --text-collor-gray: #8b8b8b;
    --text-color-dark-gray: #727272;
    --text-color-light-gray: #c6c6c6;
    --backdrop-color: rgba(42, 42, 42, .69);
}






/* 头部代码 */
header{
    width: 100vw;
    height: 80px;
    padding:0 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    position: absolute;
    z-index: 80;
}
header.sticky{
    position: fixed;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, .2);
    left: 0;
    top: -100%;
    background-color: #fff;
    animation:  transformdown .7s ease-in-out forwards;

}
@keyframes transformdown {
    0%{
        top: -100%;
    }
    100%{
        top: 0;
    }
}




header.sticky .logo,
header.sticky nav a,
header.sticky nav i{
    color: black;
}
header .logo{
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-lightest);
}
header nav{
    justify-self: end;
}
header nav a {
    text-decoration: none;
    font-size: 16px;
    margin: 0 24px;
    color: var(--text-color-lightest);
}
header nav i {
    color: var(--text-color-lightest);
}
header mune{
    display: none;
}


/* glide slide 的设置 */
.glide{
    position: relative;
    /* cursor: none; */
}
.glide__slide img,
.glide__slide video{
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
.glide__slide .backdrop{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--backdrop-color);
    opacity: .5;
    left: 0;
    top: 0;
    z-index: 60;
}
.glide__slide .glide__caption{
    position: absolute;
    z-index: 70;
    color: var(--text-color-lightest);
    max-width:600px
}
.glide__slide{
    display: flex;
    align-items: center;
    justify-content: center;
}
.glide__caption{
    text-align: center;
    /* opacity: 0; */
}

.glide__caption h1{
    font-size: 54px;
    font-weight: 600;
}
.glide__caption h3{
    font-size: 24px;
    margin: 48px 0;
}
.glide__caption .explore-btn{
    padding: 14px 32px ;
    font-size: 18px;
    color: var(--text-color-lightest);
    border: none;
    outline: none;
    background-color: var(--primary-color);
    border-radius: 4px;
}
.glide__caption.left{
    max-width: 800px;
    text-align: left;
}



/* 内容区域 */
.content-wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
section{
    max-width: 1200px;
    display: grid;
    justify-items: center;
    justify-content: center;
    padding: 70px 80px;
}
.sss{
    width: 100%;
    height: 100vw;
    background-color: red;
}


/* 关于我们 */
.about-us{
    
}
.title1{
    font-size: 34px; 
    color: var(--text-color-darker);
}
.title1::after{
    width: 80%;
    height: 2px;
    content: "";
    display: block;
    background-color: var(--primary-color);
    margin-top: 14px;
    transform: translateX(10%);
}
.intro{
    margin:28px 0 60px 0;
    font-size: 18px;
    color: var(--text-color-dark-gray);
}
.features{
    padding-bottom: 32px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(2,126px);
    /* grid-gap: 20px 30px; */
    column-gap: 5vw;
}
.feature{
    display: grid;
    grid-template-columns:60px 1fr;
    grid-template-rows: 1fr 3fr;
    grid-template-areas: "img title"
                         "img content";
}
.feature .iconfont{
    grid-area: img;
    font-size: 18px;
    color: var(--primary-color);
    text-align: center;
}
.feature .featrue-title{
    grid-area: title;
    color: var(--text-color-darker);
    font-size: 18px;
}
.feature .featrue-content{
    margin-top: 8px;
    color: var(--text-color-dark);
}
.show-cases{
    max-width:unset;
    /* margin-top: 72px;    */
    width: 100%;
    padding: 0;
}
.filter-btns{
    margin-top: 24px;
    margin-bottom: 52px;
}
.filter-btns .filter-btn{
    padding: 8px 18px;
    color: var(--text-color-dark-gray);
    background-color: var(--secondary-color);
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    border: none;
    margin: 0 7px;
    transition: .4s;
}
.filter-btn:active,
.filter-btn:focus{
    color: white;
    background-color: var(--primary-color)
}
.cases{
    width: 100vw;
    
}
.case-item{
    width: 25vw;
    height: 20vw;
    overflow: hidden;
}
.case-item img{
    height: 100%;
    object-fit: cover;
}





/* 服务流程 */
.serve-process{

}
.orders{
    /* width: 100%; */
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: 1fr 1fr;
    grid-gap: 38px 34px;
}
.orders .order{
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-template-rows: 1fr 3fr;
    padding: 14px;
    box-shadow:  0px 0px 18px rgba(0, 0, 0, .06);
    grid-template-areas: "icon title"
                        "icon content";

}
.order span{
    grid-area: icon;
    /* justify-self: center; */
    font-size: 42px;
    color: var(--primary-color);
    margin-top: 6px;
}
.order .order-title{
    grid-area: title;
    font-size: 24px;
    color: var(--text-color-darker);
}
.order .order-content{
    grid-area: content;
    color: var(--text-collor-gray);
    line-height: 30px;
    font-size: 16px;
    margin-top: 8px;
}
/* //team-introduction */
.numbers{
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    
}
.numbers .number{
    overflow: hidden;
    padding-bottom: 24px;
    display: grid;
    justify-items: center;
    transition: all .4s;
    background-color: white;
    box-shadow: 0px 0px 24px rgba(0, 0, 0, .2);


}
.numbers .number:hover{
    transform: translateY(-20px);
    box-shadow: 0px 0px 40px rgba(0, 0, 0, .05);
}

.number .number-img{
    overflow: hidden;
}
.number-img img{
    width: 100%;
    height: 264px;
    object-fit: cover;
    object-position: top center;
}
.number .number-name{
    margin-top: 8px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color-darker);
}
.number .number-info{
    margin-top: 12px;
    margin-bottom: 18px;
    color: var(--text-color-dark-gray);
}
.number .number-about{
    width: 100%;
    max-width: 200px;
    padding: 0 42px;
    display: flex;
    justify-content: space-between;
}
.number-about a{
    text-decoration: none;
    color: var(--text-color-dark);
}
/* .number-about a span{
    font-size: 20px;
}
.number:hover{
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0px 0px 36px rgba(0, 0, 0, .1);

} */

/* 数据的设置 */
.data-section{
    max-width: unset;
    width: 100vw;
    padding: 0;
    height: 255px;
    background-image: url(../image/adult-business-computer-contemporary-380769.jpg);
    background-size: cover;
    background-position: center center;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(auto,200px));
    justify-content: center;
    justify-items: center;
    align-items: center;
    
}
.data-section::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    background:var(--backdrop-color);
}
.data-section .data-price{
    /* width:; */
    display: grid;
    justify-content: center;
    justify-items: center;
    z-index: 3  ;
    color: var(--text-color-lightest);
}
.data-price .iconfont{
    font-size: 44px;
    margin-bottom: 7px;
}
.data-price .data-num{
    font-size: 41px;
    font-weight: 600;
}
.data-price .data-desc{
    font-size: 18px;
    font-weight: 500;

}


/* //公司动态 */
.companys{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
   
}
.company{
    /* width: 250px; */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
    padding: 24px;
}
.company-img{
    /* width: 100%; */
    height: 255px;
    margin: -24px;
    margin-bottom: 0;
    overflow: hidden;
}
.company-img img{
    min-height: 300px;
    object-fit: cover;
}
.company-timer{
    margin: 20px 0 12px;
    display: flex;
    color: var(--text-color-light-gray);
    font-size: 13px;
}
.company-timer>p:last-child{
    margin-left: 20px;
}
.company-title{
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-collor-gray);
}
.company-content{
    color: var(--text-collor-gray);
    line-height: 24px;
}
.company a{
    display: inline-block;
    padding: 6px 14px;
    margin-top: 24px;
    border-radius: 4px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    text-decoration: none;
}
.company:hover{
    transform: translateY(-20px);
    box-shadow: 0px 0px 36px rgba(0, 0, 0, .1);
}



/* 底部 */
footer{
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #171717;
    padding: 0 80px;
}
footer .footer-munes{
    max-width: 1200px;
    padding: 72px 0 24px;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    justify-items: center;
    /* align-items: center; */
}
.service-mune p:first-child{
    color: white;
    margin-bottom: 14px;
    font-size: 18px;
}
.contect-mune p:not(:first-child){
    color: var(--text-color-lightest);
    padding-bottom: 20px;
}
.service-mune a{
    color: var(--text-color-lightest);
    text-decoration: none;
    padding-bottom: 10px;
    display: block;
}
.qwe, .asd{
    width: 100%;
    grid-column: 1/-1;
    color: var(--text-color-lightest);
    line-height: 30px;
    font-size: 13px;
    text-align: center;
    line-height: 20px;
}
/* //返回按钮 */
.black{
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    position: fixed;
    right: 30px;
    bottom: 60px;
    z-index: 100;
}
.black a{
    color: white;
    text-decoration: none;
    scroll-behavior: smooth
}


@media screen and (max-width:1160px) {
    header{
        grid-template-columns: repeat(2, 1fr);
    }
    header nav {
        display: none;
    }
    header .mune{
        display: flex;
        flex-direction: column;
        width: 20px;
        height: 20px;
        position: relative;
        justify-self: end;
        justify-content: center;
    }
    .mune .cross-bar{
        width: 20px;
        height: 2px;
        position: absolute;
        background-color: var(--text-color-lightest);
    }
    .mune .cross-bar:nth-of-type(1){
        transform: translateY(-6px);
    }
    .mune .cross-bar:last-of-type{
        transform: translateY(6px);
    }
    /* 点击后张开添加的雷鸣 */
    header.open .logo{
        z-index: 20;
        color: var(--text-color-dark);
    }
    header.open nav{
        position: absolute;
        top:0;
        left:0;
        display: grid;
        width: 100vw;
        height: 100vh;
        grid-auto-rows: max-content;
        background-color: #fff;
        justify-items: end;
        padding: 0 40px;
        opacity: 0;
        animation: slidedown .6s ease-out forwards;
    }
    header.open nav a{
        color: var(--text-color-darker);
        margin: 4px 0;
        font-size: 18px;
        animation: navslide .4s ease-out forwards .4s;
        opacity: 0;
    }
    header.open nav i{
        font-size: 20px;
        color: var(--text-color-dark);
        font-weight: 700;
        margin-top: 10px;
    }
    @keyframes slidedown {
        0%{
            height: 0;
            opacity: 0;
        }
        100%{
            height: 100vh;
            opacity: 1;
            padding-top: 80px;
        }
    }
    @keyframes navslide{
        0%{
            opacity: 0;
            transform: translateY(-1vh);
        }
        100%{
            opacity: 1;
            transform: translateY(0);
        }
    }
    header.sticky .cross-bar,
    header.open .cross-bar{
        background-color: var(--text-color-dark);
        transition: all .4s ease;
        cursor: pointer;
    }
    header.open .cross-bar:nth-of-type(1){
        transform: rotate(45deg);
    }
    header.open .cross-bar:nth-of-type(2){
        transform: translateX(5px);
        opacity: 0;
    }
    header.open .cross-bar:nth-of-type(3){
        transform: rotate(-45deg);
    }



    /* searve-process */
    .order .iconfont{
        font-size: 36px;
    }
    .order .order-title{
        font-size: 19px;
    }
    .order .order-content{
        font-size: 14px;
        line-height: 24px;
    }
    /* team-introduction */
    .numbers{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5vw;
    }
    /* company-activise */
    .companys{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5vw;
    }
}
@media screen and (max-width:992px) {
     .glide__caption h1 {
         font-size: 40px;
     }
     .glide__caption h3{
        font-size: 20px;
        max-width:500px;
     }
     .glide__caption .explore-btn{
        padding: 10px 28px;
     }

    .features{
        grid-template-columns: repeat(2, 1fr);
        /* grid-template-rows: unset; */
    }

    .cases .case-item{
        width: calc(100vw / 3);
    }

    .orders{
        grid-template-columns: repeat(2, 1fr);
    }

    .data-section{
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        padding: 20px 20px;
        background-size: 200%;
        row-gap: 40px;
        justify-content: center;
        justify-items: center;
    }
}


@media screen and (max-width: 768px) {
    section,
    footer{
        padding: 20px 40px;
    }
    footer .footer-munes{
        grid-template-columns: 2fr repeat(2,1fr);
        row-gap: 20px;
        text-align: right;
    }
    .footer-munes .contect-mune{
        grid-row: 1 / 3;
        text-align: left;
    }
    .glide__caption{
        font-size: 16px;
        width:50vw;
     }
     .features{
         grid-template-columns: 1fr;
     }

     .cases .case-item{
        width: calc(100vw / 2);
        height: 30vw;
     }
     .orders {
         grid-template-columns: 1fr;
     }
     .numbers{
        grid-template-columns: minmax(200px, 400px);

     }
     .data-section{
         grid-template-columns: 1fr;
         background-size: 300%;
     }
     .companys{
         grid-template-columns: 1fr;
     }
}
@media screen and (max-width: 576px) {
    .glide__caption h1 {
        font-size: 28px;
    }
    .glide__caption h3{
       font-size: 14px;
    }
    .glide__caption .explore-btn{
        padding: 8px 18px;
        font-size: 14px;
     }
     .cases .case-item{
        width: 100vw;
        height: 60vw;
     }
     footer .footer-munes{
        grid-template-columns: 1fr;
        justify-items: start;
        row-gap: 20px;
        text-align: left;
    }
}